With csd, the allocation of the window will be larger than the
default size, since it includes borders and decorations. Just
remove this check.
g_assert_cmpint (w, ==, 300);
g_assert_cmpint (h, ==, 300);
- g_assert_cmpint (gtk_widget_get_allocated_width (window), ==, 300);
- g_assert_cmpint (gtk_widget_get_allocated_height (window), ==, 300);
-
g_assert_cmpint (gtk_widget_get_allocated_width (box), ==, 300);
g_assert_cmpint (gtk_widget_get_allocated_height (box), ==, 300);